package com.hunters.web.wechat;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 程序主启动类
 * <br/>
 *
 * @author: WangYang
 * @date: 2018-01-21 12:00
 * @version: 1.0
 * @since 1.8
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, RedisAutoConfiguration.class})
@EnableAspectJAutoProxy
@EnableAsync
public class StartSpringBootApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(StartSpringBootApplication.class);
        app.setBannerMode(Banner.Mode.CONSOLE);
        app.run(args);
    }

}